<script>
    // 定义常量 定义时必须初始化
    const pi = "3.14159265354"

    // pi = 3 // Uncaught TypeError: Assignment to constant variable.

</script>